package com.qm.console.dao.model;

import com.qm.console.component.annotation.ExcelAnnotation;

import java.util.Date;

public class BasicStatisticsDO {
    private Integer id;

    @ExcelAnnotation("日期")
    private Date targetDate;

    private String channel;

    private Integer gender;

    @ExcelAnnotation("激活人数")
    private Integer activateCount;

    private Integer loginCount;

    @ExcelAnnotation("登录人数")
    private Integer activeCount;

    @ExcelAnnotation("次日留存")
    private Integer remain1Day;

    @ExcelAnnotation("总充值")
    private Integer totalRecharge;
    @ExcelAnnotation("提现金额")
    private Integer totalWithdraw;
    @ExcelAnnotation("新增徒弟人数")
    private Integer newApprenticeCount;

    private Date createTime;

    private Date updateTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Date getTargetDate() {
        return targetDate;
    }

    public void setTargetDate(Date targetDate) {
        this.targetDate = targetDate;
    }

    public String getChannel() {
        return channel;
    }

    public void setChannel(String channel) {
        this.channel = channel == null ? null : channel.trim();
    }

    public Integer getGender() {
        return gender;
    }

    public void setGender(Integer gender) {
        this.gender = gender;
    }

    public Integer getActivateCount() {
        return activateCount;
    }

    public void setActivateCount(Integer activateCount) {
        this.activateCount = activateCount;
    }

    public Integer getLoginCount() {
        return loginCount;
    }

    public void setLoginCount(Integer loginCount) {
        this.loginCount = loginCount;
    }

    public Integer getActiveCount() {
        return activeCount;
    }

    public void setActiveCount(Integer activeCount) {
        this.activeCount = activeCount;
    }

    public Integer getRemain1Day() {
        return remain1Day;
    }

    public void setRemain1Day(Integer remain1Day) {
        this.remain1Day = remain1Day;
    }

    public Integer getTotalRecharge() {
        return totalRecharge;
    }

    public void setTotalRecharge(Integer totalRecharge) {
        this.totalRecharge = totalRecharge;
    }

    public Integer getTotalWithdraw() {
        return totalWithdraw;
    }

    public void setTotalWithdraw(Integer totalWithdraw) {
        this.totalWithdraw = totalWithdraw;
    }

    public Integer getNewApprenticeCount() {
        return newApprenticeCount;
    }

    public void setNewApprenticeCount(Integer newApprenticeCount) {
        this.newApprenticeCount = newApprenticeCount;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", targetDate=").append(targetDate);
        sb.append(", channel=").append(channel);
        sb.append(", gender=").append(gender);
        sb.append(", activateCount=").append(activateCount);
        sb.append(", loginCount=").append(loginCount);
        sb.append(", activeCount=").append(activeCount);
        sb.append(", remain1Day=").append(remain1Day);
        sb.append(", totalRecharge=").append(totalRecharge);
        sb.append(", totalWithdraw=").append(totalWithdraw);
        sb.append(", newApprenticeCount=").append(newApprenticeCount);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append("]");
        return sb.toString();
    }
}